<!doctype html>
<html lang="zh"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>客户信息库-客户详情</title>
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css"/>
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css"/>
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <style>
        .messageInfo{
            background: #F0F4F8;
            border: 1px solid #EDF1F8;
            border-radius: 4px;
            padding: 20px 40px;
            line-height: 45px;
        }
        .messageInfo label{
          color: #657082;
            font-size: 14px;
        }
        .messageInfo span{
            color: #444951;
            font-size: 14px;
        }
        .customerName{
            font-size: 18px;
            color: #40424B;
            font-weight: 500;
        }
        i{
            font-style: normal;
        }
        .customers{
            background: #E8F4FF;
            border-radius: 2px;
            font-size: 13px;
            font-weight: 400;
            color: #3295F0;
            padding: 6px;
        }
        .customers:before{
            content: ' ';
            display: inline-block;
            width: 16px;
            height: 16px;
            background: url('../../../images/csdCustomerDetail/1-7.png') no-repeat;
            margin-right: 5px;
            vertical-align: middle;
        }
        .customerStatus{
            border-radius: 2px;
            font-size: 13px;
            padding: 6px;
            margin-left: 10px;
            background: #ECF8F0;
            color: #1C9A46;
        }
        .details{
            background: #F0F4F8;
            border: 1px solid #EDF1F8;
            border-radius: 4px;
            padding: 20px;
        }
    </style>
</head>
<body>
<div class="container-fluid customer-page">
    <div class="card">
        <div class="card-header">
            <h1>客户详情</h1>
        </div>
        <div class="card-body">
            <div class="well form-well clearfix">
               <div class="details clearfix">
                   <div class="img pull-left"><img src="/images/csdCustomerDetail/1-3.png" alt=""></div>
                   <div class=" pull-left" style="margin-left: 20px">
                       <p class="customerName">
                           <span th:text="${customerInfoDetail.enterpriseName}"></span>
                           <span style="color: #B2B2B2;font-size: 14px">（统一社保信用代码：<i th:text="${customerInfoDetail.socialCode}"></i>）</span>
                       </p>
                       <p>
                           <span class="customers">企业客户</span>
                           <span class="customerStatus" th:if="${customerInfoDetail.registStatus != '注销'}" th:text="${customerInfoDetail.registStatus}"></span>
                           <span class="customerStatus" th:if="${customerInfoDetail.registStatus == '注销'}" th:text="${customerInfoDetail.registStatus}" style="background: #FCF1F0;color: #E47471;"></span>
                       </p>
                   </div>
               </div>
            </div>
            <div class="well form-well">
                <h3>基本信息</h3>
                <div class="messageInfo">
                    <div class="row" style="max-width:100%;">
                        <div class="col-xs-4">
                            <label>法定代表人：</label>
                            <span class="text" th:text="${customerInfoDetail.legalPerson}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>注册资本：</label>
                            <span class="text" th:text="${customerInfoDetail.registCapital}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>成立日期：</label>
                            <span class="text" th:text="${customerInfoDetail.establishDate}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>核准日期：</label>
                            <span class="text" th:text="${customerInfoDetail.approvalDate}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>电话：</label>
                            <span class="text" th:text="${customerInfoDetail.phone}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>更多电话：</label>
                            <span class="text" th:text="${customerInfoDetail.morePhone}"></span>
                        </div>

                        <div class="col-xs-4">
                            <label>统一社会信用代码：</label>
                            <span class="text" th:text="${customerInfoDetail.socialCode}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>纳税人识别号：</label>
                            <span class="text" th:text="${customerInfoDetail.taxpayerCode}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>注册号：</label>
                            <span class="text" th:text="${customerInfoDetail.registCode}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>参保人数：</label>
                            <span class="text" th:text="${customerInfoDetail.insuredTotal}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>企业类型：</label>
                            <span class="text" th:text="${customerInfoDetail.enterpriseType}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>所属行业：</label>
                            <span class="text" th:text="${customerInfoDetail.industryType}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>曾用名：</label>
                            <span class="text" th:text="${customerInfoDetail.oldName}"></span>
                        </div>
                        <div class="col-xs-8">
                            <label>英文名：</label>
                            <span class="text" th:text="${customerInfoDetail.englishName}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>邮箱：</label>
                            <span class="text" th:text="${customerInfoDetail.email}"></span>
                        </div>
                        <div class="col-xs-8">
                            <label>更多邮箱：</label>
                            <span class="text" th:text="${customerInfoDetail.moreEmail}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>地区：</label>
                            <span class="text" th:text="${customerInfoDetail.provice+' '+customerInfoDetail.city+' '+customerInfoDetail.district}"></span>
                        </div>
                        <div class="col-xs-8">
                            <label>最新年报地址：</label>
                            <span class="text" th:text="${customerInfoDetail.reportSite}"></span>
                        </div>
                        <div class="col-xs-4">
                            <label>网址：</label>
                            <span class="text" th:text="${customerInfoDetail.website}"></span>
                        </div>
                        <div class="col-xs-8">
                            <label>企业地址：</label>
                            <span class="text" th:text="${customerInfoDetail.enterpriseAddress}"></span>
                        </div>
                        <div class="col-xs-12">
                            <label>经营范围：</label>
                            <span class="text" th:text="${customerInfoDetail.business}"></span>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<!--标签插件-->
<script src="/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/city.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
<!--表格多选-->
<script src="/js/bootstrapTableSelect.js"></script>
<script src="/js/crm/common/pageCommon.js"></script>
</body>
</html>